package com.lovar.gaming.service.impl;

import lombok.extern.slf4j.Slf4j;
import lombok.RequiredArgsConstructor;
import com.lovar.gaming.dao.repository.SysMenuRoleRepository;
import com.lovar.gaming.dao.domain.SysMenuRole;
import com.lovar.gaming.service.SysMenuRoleService;
import org.springframework.stereotype.Service;

/**
 * @author 穹龙
 * @description 针对表【sys_menu_role(菜单角色表)】的数据库操作Service实现
 * @createDate 2024-08-06 17:09:56
*/
@Service
@Slf4j
@RequiredArgsConstructor
public class SysMenuRoleServiceImpl implements SysMenuRoleService {

    private final SysMenuRoleRepository sysMenuRoleRepository;
    /**
     * 根据主键获取菜单角色表详情
     *
     * @param id 主键Id
     * @return SysMenuRole
    */
    @Override
    public SysMenuRole queryById(String id) {
        return sysMenuRoleRepository.queryById(id);
    }

}




